package com.monitor.entity.request.camera;

import com.baomidou.mybatisplus.annotation.TableName;
import com.monitor.entity.pojo.BaseEntityPojo;
import com.monitor.entity.request.BaseEntityRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 摄像头.
 *
 * @author Li Zhiyuan
 * @since 2020-11-17
 */
@Data
@ApiModel("绑定摄像头")
public class CameraRequest extends BaseEntityRequest {
    @NotEmpty(message = "摄像头唯一标识不能为空")
    @ApiModelProperty(value = "摄像头唯一标识")
    private String mac;
    @NotNull(message = "企业id标识不能为空")
    @ApiModelProperty(value = "企业id")
    private Long companyId;
    @NotEmpty(message = "企业名称标识不能为空")
    @ApiModelProperty(value = "企业名称")
    private String companyName;
    @ApiModelProperty(value = "项目id")
    private Long entryId;
    @NotEmpty(message = "项目名称")
    @ApiModelProperty(value = "项目名称")
    private String entryName;
    @NotNull(message = "出入口拍照（0是入口1是出口）标识不能为空")
    @ApiModelProperty(value = "出入口拍照（0是入口1是出口）")
    private Integer mouth;


}
